import { IEvent } from '../type/IEvent';

export function startNode(e: IEvent, blackBoard?: any) {
    e.task.running();
    e.onStart();
}

export function resetNode(e: IEvent, blackBoard?: any) {
    e.task.reset();
    e.onReset();
}
